/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'common';

/**
 * scheme: "Solarized Dark"
 * author: "Ethan Schoonover (modified by aramisgithub)"
 *
 */
body[kui-theme='Solarized'] {
  @include kui-patternfly-alignment-dark;
  @include InvertColorsForTerminal;

  --color-base00: #002b36;
  --color-base01: #073642;
  --color-base02: #586e75;
  --color-base03: #133a45; /* versus #657b83 from the theme; dialed down opacity to bring to 20%; closer to base02 */
  --color-base04: #9ca9ab; /* hsl(186, 8%, 64%), which is dialed up to L=64% from 55% versus #839496 */
  --color-base05: hsl(180, 7%, 72%); /* dialed up to L=72% from 60% versus: #93a1a1 */
  --color-base06: #eee8d5;
  --color-base07: #fdf6e3;
  --color-base08: #dc322f;
  --color-base09: #cb4b16;
  --color-base0A: hsl(45, 100%, 38%); /* dialed L from 35% #b58900 */
  --color-base0B: #859900;
  --color-base0C: hsl(175, 59%, 42%); /* dialed L from 35% #2aa198 */
  --color-base0D: hsl(205, 69%, 58%); /* dialed up to L=58% from 49% versus: #268bd2 */
  --color-base0E: #{lighten(#6c71c4, 10%)};
  --color-base0F: #d33682;

  --color-base08-rgb: 220, 50, 47;
  --color-red-rgb: var(--color-base08-rgb);

  --color-base0B-rgb: 133, 153, 0;
  --color-green-rgb: var(--color-base0B-rgb);

  --color-base0D-rgb: 74, 160, 222;
  --color-blue-rgb: var(--color-base0D-rgb);

  --color-base0A-rgb: 194, 145, 0;
  --color-yellow-rgb: var(--color-base0A-rgb);

  --color-ui-06: hsla(194, 20%, 20%, 0.8);

  --color-sidecar-border: var(--color-ui-03);
  --color-background-inverted01: var(--color-base01);
  --color-text-inverted01: var(--color-text-01);

  --color-latency-0: #4575b4;
  --color-latency-1: #91bfdb;
  --color-latency-2: #e0f3f8;
  --color-latency-3: #fee090;
  --color-latency-4: #fc8d59;
  --color-latency-5: #d73027;

  --color-error-cell-bg: var(--color-base0E);
  --color-error-cell-text: var(--color-base00);
}
